﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="List_blz.aspx.cs" Inherits="Three_Managerment_Problem_three_List_blz" %>


<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="/style/css/style.css" rel="stylesheet" type="text/css" />
    <link href="/style/css/select.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/style/js/jquery.js"></script>
    <script type="text/javascript" src="/style/js/jquery.idTabs.min.js"></script>
    <script type="text/javascript" src="/style/js/select-ui.min.js"></script>
    <script type="text/javascript" src="/style/editor/kindeditor.js"></script>

    <script type="text/javascript">
        KE.show({
            id: 'content7',
            cssPath: './index.css'
        });
    </script>

    <script type="text/javascript">
        $(document).ready(function (e) {
            $(".select1").uedSelect({
                width: 345
            });
            $(".select2").uedSelect({
                width: 167
            });
            $(".select3").uedSelect({
                width: 100
            });
        });
    </script>

    <style>
        .pager {
            width: 95%;
            margin: 10px;
            line-height: 20px;
            display: block;
        }

            .pager span {
                border: 1px solid #CCCCCC;
                margin: 0 5px;
                padding: 1px 6px;
                float: left;
            }

            .pager a {
                border: 1px solid #CCCCCC;
                display: block;
                overflow: hidden;
                float: left;
                margin: 0 5px;
                padding: 1px 6px;
            }

                .pager a:hover {
                    border: 1 solid red;
                    background-color: #1657a8;
                    color: #ffffff;
                    margin: 0 5px;
                    padding: 1px 6px;
                }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <div class="place">
            <span>位置：</span>
            <ul class="placeul">
                <li><a href="Index.aspx">首页</a></li>
                <li><a href="#">办理中事件查询</a></li>
            </ul>
        </div>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server"><ContentTemplate>
        <div class="formbody">


            <div id="usual1" class="usual">

                <div class="itab">
                    <ul>
                        <%--<li><a href="#tab1" class="selected">全部办理中事件</a></li>--%>
                        <li><a href="#tab2" class="selected">本部门办理中事件</a></li>
                    </ul>
                </div>

          


                <div id="tab2" class="tabson">


                


                    <table class="tablelist">
                        <asp:Repeater runat="server" ID="repeater" OnItemDataBound="repeater_ItemDataBound">
                            <HeaderTemplate>
                                <thead>
                                    <tr>
                                        <th width="10%">事件编号</th>
                                        <th width="10%">事件来源</th>
                                        <th width="5%">工号</th>
                                        <th width="20%">标题</th>
                                        <th width="10%">事件状态</th>
                                        <th width="8%">姓名</th>
                                        <th width="12%">联系方式</th>
                                        <th width="15%">上报时间</th>
                                        <th width="15%">是否为重复件</th>
                                    </tr>
                                </thead>
                                <tbody>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <tr onclick="javascript:window.location.href='Edit1.aspx?type=daiban&id=<%#Eval("id") %>'">

                                    <td style="overflow: hidden"><%#Eval("appealid") %></td>
                                    <asp:Repeater runat="server" ID="rep1">
                                        <ItemTemplate>
                                            <td><%#Eval("name") %></td>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                    <td style="overflow: hidden"><%#Eval("jobnum") %></td>
                                    <td style="overflow: hidden"><%#Eval("title") %></td>
                                    <td style="overflow: hidden"><%#sjzt(Convert.ToInt32(Eval("handle_type"))) %></td>
                                    <td style="overflow: hidden"><%# Eval("secrecy").ToString().Equals("0") ? Eval("appeal_name") : Eval("appeal_name")+"*" %></td>
                                            <td style="overflow: hidden"><%# Eval("secrecy").ToString().Equals("0") ? Eval("appeal_tel") :Eval("appeal_tel")+ "*"  %></td>
                                    <td style="overflow: hidden"><%#Eval("regtime") %></td>
                                    <td style="overflow: hidden"><%# Convert.ToInt32(Eval("repeats")) == 0?"是":"否" %></td>
                                </tr>
                            </ItemTemplate>
                            <FooterTemplate>
                                 <%#repeater.Items.Count == 0 ? "<tr><td align=\"center\" colspan=\"20\">暂无记录</td></tr>" : ""%>
                                </tbody>
                            </FooterTemplate>
                        </asp:Repeater>
                    </table>


                    <div class="pager">
                        <webdiyer:AspNetPager
                            ID="AspNetPager1" runat="server" AlwaysShow="True" FirstPageText="首页"
                            LastPageText="尾页" NextPageText="下一页" OnPageChanged="AspNetPager_PageChanged"
                            PrevPageText="上一页" PageSize="10">
                        </webdiyer:AspNetPager>
                    </div>



                </div>

            </div>

            <script type="text/javascript">
                $("#usual1 ul").idTabs();
            </script>

            <script type="text/javascript">
                $('.tablelist tbody tr:odd').addClass('odd');
            </script>





        </div>
            </ContentTemplate></asp:UpdatePanel>
    </form>
</body>
</html>